package vista;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JDesktopPane;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax.swing.JList;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.ListModel;
import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class ModificarPrendaSinTemporada extends javax.swing.JFrame {
	private JDesktopPane jDesktopPane1;
	private JLabel jLabel2;
	private JLabel jLabel3;
	private JButton Buscar;
	private JLabel jLabel4;
	private JScrollPane jScrollPane1;
	private JList jList1;
	private JButton jButton1;
	private JLabel jLabel5;
	private JScrollPane jScrollPane2;
	private JButton jButton3;
	private JButton jButton2;
	private JList jList2;
	private JTextField jTextField4;
	private JLabel jLabel7;
	private JTextField jTextField3;
	private JLabel jLabel6;
	private JTextField jTextField2;
	private JTextField jTextField1;
	private JLabel jLabel1;
	private ModificarPrendaSinTemporada app;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				ModificarPrendaSinTemporada inst = new ModificarPrendaSinTemporada();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public ModificarPrendaSinTemporada() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			{
				jDesktopPane1 = new JDesktopPane();
				getContentPane().add(jDesktopPane1, BorderLayout.CENTER);
				{
					jLabel1 = new JLabel();
					jDesktopPane1.add(jLabel1);
					jLabel1.setText("Modificar Prenda Sin Temporada");
					jLabel1.setBounds(312, 12, 213, 18);
				}
				{
					jLabel2 = new JLabel();
					jDesktopPane1.add(jLabel2);
					jLabel2.setText("Nombre:");
					jLabel2.setBounds(10, 74, 78, 16);
				}
				{
					jLabel3 = new JLabel();
					jDesktopPane1.add(jLabel3);
					jLabel3.setText("Codigo:");
					jLabel3.setBounds(12, 28, 76, 16);
				}
				{
					jTextField1 = new JTextField();
					jDesktopPane1.add(jTextField1);
					jTextField1.setBounds(85, 73, 189, 19);
				}
				{
					jTextField2 = new JTextField();
					jDesktopPane1.add(jTextField2);
					jTextField2.setBounds(85, 26, 104, 21);
				}
				{
					jLabel4 = new JLabel();
					jDesktopPane1.add(jLabel4);
					jLabel4.setText("Materiales:");
					jLabel4.setBounds(12, 138, 70, 13);
				}
				{
					jScrollPane1 = new JScrollPane();
					jDesktopPane1.add(jScrollPane1);
					jScrollPane1.setBounds(84, 113, 144, 105);
					{
						ListModel jList1Model = 
								new DefaultComboBoxModel(
										new String[] { "Item One", "Item Two" });
						jList1 = new JList();
						jScrollPane1.setViewportView(jList1);
						jList1.setModel(jList1Model);
					}
				}
				{
					jButton1 = new JButton();
					jDesktopPane1.add(jButton1);
					jButton1.setText("Agregar");
					jButton1.setBounds(253, 263, 84, 23);
				}
				{
					jLabel5 = new JLabel();
					jDesktopPane1.add(jLabel5);
					jLabel5.setText("Lista");
					jLabel5.setBounds(12, 116, 41, 16);
				}
				{
					jLabel6 = new JLabel();
					jDesktopPane1.add(jLabel6);
					jLabel6.setText("Material:");
					jLabel6.setBounds(12, 233, 67, 16);
				}
				{
					jTextField3 = new JTextField();
					jDesktopPane1.add(jTextField3);
					jTextField3.setBounds(84, 230, 144, 19);
				}
				{
					jLabel7 = new JLabel();
					jDesktopPane1.add(jLabel7);
					jLabel7.setText("Cantidad:");
					jLabel7.setBounds(12, 270, 60, 14);
				}
				{
					jTextField4 = new JTextField();
					jDesktopPane1.add(jTextField4);
					jTextField4.setBounds(84, 266, 144, 20);
				}
				{
					jScrollPane2 = new JScrollPane();
					jDesktopPane1.add(jScrollPane2);
					jScrollPane2.setBounds(273, 113, 227, 69);
					{
						ListModel jList2Model = 
								new DefaultComboBoxModel(
										new String[] { "Item One", "Item Two" });
						jList2 = new JList();
						jScrollPane2.setViewportView(jList2);
						jList2.setModel(jList2Model);
					}
				}
				{
					jButton2 = new JButton();
					jDesktopPane1.add(jButton2);
					jButton2.setText("Modificar");
					jButton2.setBounds(273, 194, 103, 23);
				}
				{
					jButton3 = new JButton();
					jDesktopPane1.add(jButton3);
					jButton3.setText("Cancelar");
					jButton3.setBounds(408, 194, 93, 23);
				}
				{
					Buscar = new JButton();
					jDesktopPane1.add(Buscar, JLayeredPane.DEFAULT_LAYER);
					Buscar.setText("Buscar");
					Buscar.setBounds(215, 25, 80, 23);
				}
			}
			app=this;
			jButton3.addActionListener(new ActionListener() {
				
				public void actionPerformed(ActionEvent e) {
					// TODO Auto-generated method stub
					app.dispose();
				}
				
			});
			pack();
			this.setSize(541, 336);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
